package org.ecc.android.validations.library;

import java.util.List;

/**
 * Created with org.ecc.android.validations.library
 * User:YangXiuFeng
 * Date:2016/1/14
 * Time:19:53
 */
public class ValidateResult {
    private boolean errors;
    private List<Errors> errorsList;

    public List<Errors> getErrorsList() {
        return errorsList;
    }

    public void setErrorsList(List<Errors> errorsList) {
        this.errorsList = errorsList;
    }

    public boolean hasErrors() {
        return errors;
    }

    public void setErrors(boolean errors) {
        this.errors = errors;
    }
}
